package com.nzx.general.email.controller;

import com.nzx.common.result.ApiResult;
import com.nzx.common.result.ResultCommon;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述：Email通用服务接口
 *
 * @author nzx
 * @date 2021/11/7 14:54:16
 */
@RestController
@RequestMapping("/api/common/email")
@Api(tags = "通用Email服务接口")
public class EmailController {


    @GetMapping("/message")
    @ApiOperation(value = "获取信息",httpMethod = "GET")
    public ApiResult getMessage(){

        return ResultCommon.doSuccess("Email测试信息成功！");
    }
}
